package com.meichis.yndms.http;

import com.meichis.mcsappframework.http.request.RequestEnvelope;
import com.meichis.mcsappframework.http.response.ResponseEnvelope;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * Created by jsrgc on 2017/5/26.
 */

public interface CallApi {
    //请求的Action，类似于方法名
    @Headers({"Content-Type: application/soap+xml; charset=utf-8"})
    @POST("MCSWSIAPI.asmx")
    Observable<ResponseEnvelope> Call(@Body RequestEnvelope requestEnvelope);
}
